home *** CD-ROM | disk | FTP | other *** search
- Path: druid.borland.com!usenet
- From: pete@borland.com (Pete Becker)
- Newsgroups: comp.lang.c
- Subject: Re: STDIO.H
- Date: 11 Apr 1996 16:00:28 GMT
- Organization: Borland International
- Message-ID: <4kjaas$jp2@druid.borland.com>
- References: <4ke6d8$r42@newsbf02.news.aol.com> <316ADBEA.3FE8@willows.com>
- NNTP-Posting-Host: pbecker.borland.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=ISO-8859-1
- X-Newsreader: WinVN 0.99.5
-
- In article <316ADBEA.3FE8@willows.com>, tarang@willows.com says...
- >
- >JeffSCman wrote:
- >>
- >> I am using Borlandc C++ 3.1. In STDIO.H the constant FOPEM_MAX is defined
- >> using the constant _NFILE_ which == 20. This limits the number of files
- >> that I can open at one time to 20 files. I need more. Can I increase this
- >> value safely ??
- >>
- >> Thanx
- >> Jeff
- >
- >No. MS-DOS has a limit of 20 open file handles at a time. Even if you did
- >enlarge the number when you attempted to open the 20th file you would get
- >back an error. Note that you can not actually open 20 files since there are
- >some files open automatically.
-
- Yes, you can increase the number of file handles that can be open at once. You
- have to combine a DOS call with a change to the RTL. If you need details on
- doing this, there's a tech fax available with complete instructions.
-
-